#ifndef _PLAY_GAME_SCENE_H_
#define _PLAY_GAME_SCENE_H_

#include "cocos2d.h"
#include "heroBird.h"
#include"edgeWord.h"

class playGameScene:public cocos2d::Layer
{
public:
	playGameScene(void);
	~playGameScene(void);

public:
	virtual bool init();

	static cocos2d::Scene* createScene();

	CREATE_FUNC(playGameScene);

	virtual void update(float);

    void addBlocks(float);

private:
	cocos2d::Sprite* land;

	cocos2d::Sprite* land_2;

	int land_width;

	heroBird* m_heroBird;

	edgeWord* m_word;
};

#endif//_PLAY_GAME_SCENE_H_


